//
//  HHListSheetAlertController.h
//  InternetHospital
//
//  Created by chun.chen on 2021/12/16.
//  Copyright © 2021 HC. All rights reserved.
//  列表类型底部弹框

#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN

@interface HHListSheetAlertController : UIViewController

/// 内容view
@property (nonatomic, strong) UIView *contentView;
/// 数据源
@property (nonatomic, strong) NSArray <NSString *>*dataArr;

/// 选择回调
@property (nonatomic, copy, nullable) void(^selectedBlock)(NSInteger index);


/// 类方法 显示
/// @param title 标题
/// @param dataList 数据源
/// @param completion callback
+ (HHListSheetAlertController *)showAlertWithTitle:(NSString *)title list:(NSArray<NSString *> *)dataList completion:(void (^)(NSInteger index))completion;

@end


NS_ASSUME_NONNULL_END
